struct dtv_stats - Used for reading a DTV status property
@scale:
Filled with enum fecap_scale_params - the scale in usage
for that parameter
@svalue:
integer value of the measure, for %FE_SCALE_DECIBEL,
used for dB measures. The unit is 0.001 dB.
@uvalue:
unsigned integer value of the measure, used when @scale is
either %FE_SCALE_RELATIVE or %FE_SCALE_COUNTER.
For most delivery systems, this will return a single value for each
parameter.
It should be noticed, however, that new OFDM delivery systems like
ISDB can use different modulation types for each group of carriers.
On such standards, up to 8 groups of statistics can be provided, one
for each carrier group (called "layer" on ISDB).
In order to be consistent with other delivery systems, the first
value refers to the entire set of carriers ("global").
@scale should use the value %FE_SCALE_NOT_AVAILABLE when
the value for the entire group of carriers or from one specific layer
is not provided by the hardware.
@len should be filled with the latest filled status + 1.
In other words, for ISDB, those values should be filled like::
u.st.stat.svalue[0] = global statistics;
u.st.stat.scale[0] = FE_SCALE_DECIBEL;
u.st.stat.value[1] = layer A statistics;
u.st.stat.scale[1] = FE_SCALE_NOT_AVAILABLE (if not available);
u.st.stat.svalue[2] = layer B statistics;
u.st.stat.scale[2] = FE_SCALE_DECIBEL;
u.st.stat.svalue[3] = layer C statistics;
u.st.stat.scale[3] = FE_SCALE_DECIBEL;
u.st.len = 4;
struct dtv_stats - Used for reading a DTV status property
@scale: Filled with enum fecap_scale_params - the scale in usage for that parameter
@svalue: integer value of the measure, for %FE_SCALE_DECIBEL, used for dB measures. The unit is 0.001 dB.
@uvalue: unsigned integer value of the measure, used when @scale is either %FE_SCALE_RELATIVE or %FE_SCALE_COUNTER.
For most delivery systems, this will return a single value for each parameter.
It should be noticed, however, that new OFDM delivery systems like ISDB can use different modulation types for each group of carriers. On such standards, up to 8 groups of statistics can be provided, one for each carrier group (called "layer" on ISDB).
In order to be consistent with other delivery systems, the first value refers to the entire set of carriers ("global").
@scale should use the value %FE_SCALE_NOT_AVAILABLE when the value for the entire group of carriers or from one specific layer is not provided by the hardware.
@len should be filled with the latest filled status + 1.
In other words, for ISDB, those values should be filled like::
u.st.stat.svalue[0] = global statistics; u.st.stat.scale[0] = FE_SCALE_DECIBEL; u.st.stat.value[1] = layer A statistics; u.st.stat.scale[1] = FE_SCALE_NOT_AVAILABLE (if not available); u.st.stat.svalue[2] = layer B statistics; u.st.stat.scale[2] = FE_SCALE_DECIBEL; u.st.stat.svalue[3] = layer C statistics; u.st.stat.scale[3] = FE_SCALE_DECIBEL; u.st.len = 4;